A Unification Algorithm for GP 2
نویسندگان
چکیده
The graph programming language GP 2 allows to apply sets of rule schemata (or “attributed” rules) non-deterministically. To analyse conflicts of programs statically, graphs labelled with expressisons are overlayed to construct critical pairs of rule applications. Each overlay induces a system of equations whose solutions represent different conflicts. We present a rule-based unification algorithm for GP expressions that is terminating, sound and complete. For every input equation, the algorithm generates a finite set of substitutions. Soundness means that each of these substitutions solves the input equation. Since GP labels are lists constructed by concatenation, unification modulo associativity and unit law is required. This problem, which is also known as word unification, is infinitary in general but becomes finitary due to GP’s rule schema syntax and the assumption that rule schemata are left-linear. Our unification algorithm is complete in that every solution of an input equation is an instance of some substitution in the generated set.
منابع مشابه
A Unification Algorithm for GP 2 (Long Version)
The graph programming language GP 2 allows to apply sets of rule schemata (or “attributed” rules) non-deterministically. To analyse conflicts of programs statically, graphs labelled with expressions are overlayed to construct critical pairs of rule applications. Each overlay induces a system of equations whose solutions represent different conflicts. We present a rule-based unification algorith...
متن کاملA Unification Algorithm for GP 2 (Long Version)
The graph programming language GP 2 allows to apply sets of rule schemata (or “attributed” rules) non-deterministically. To analyse conflicts of programs statically, graphs labelled with expressions are overlayed to construct critical pairs of rule applications. Each overlay induces a system of equations whose solutions represent different conflicts. We present a rule-based unification algorith...
متن کاملA Unification Algorithm for GP
The graph programming language GP allows to apply sets of rule schemata (or “attributed” rules) nondeterministically. To analyse conflicts of programs statically, graphs labelled with expressisons are overlayed to construct critical pairs of rule applications. Each overlay induces a system of equations whose solutions represent different conflicts. We present a rule-based unification algorithm ...
متن کاملIntroduction of MO-GP algorithm and its application in basin management
The most important factor that should be considered in managing a watershed is, taking into account objectives under policies. In operating from water resources systems, in general, and in reservoir, in particular, operating rules should be extracted as multi-objective. In this paper, multi-objective genetic programming (MOGP) is developed and used. Then, after verification, it is used to extra...
متن کاملThe Role of Inflation Targeting in Exchange Rate Unification Policy: Difference-in-Differences Approach
Generally, one of the important issue in open macroeconomics and international finance literature is the innovations of exchange rate regimes, and exchange rate unification policy is one of the most important reforming policies in developing and emerging countries. By considering the experience of other emerging countries for exchange rates unification policy in this study, it will be investig...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- ECEASST
دوره 71 شماره
صفحات -
تاریخ انتشار 2014